package com.ruoyi.mes.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生产绩效管理对象 tb_production_performance
 * 
 * @author ruoyi
 * @date 2025-01-09
 */
public class ProductionPerformance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 绩效唯一标识 */
    private Long performanceId;

    /** 任务ID，外键关联生产任务表 */
    @Excel(name = "任务ID，外键关联生产任务表")
    private Long taskId;

    /** 完成数量 */
    @Excel(name = "完成数量")
    private Long completedQuantity;

    /** 合格率 */
    @Excel(name = "合格率")
    private BigDecimal passRate;

    public void setPerformanceId(Long performanceId) 
    {
        this.performanceId = performanceId;
    }

    public Long getPerformanceId() 
    {
        return performanceId;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setCompletedQuantity(Long completedQuantity) 
    {
        this.completedQuantity = completedQuantity;
    }

    public Long getCompletedQuantity() 
    {
        return completedQuantity;
    }
    public void setPassRate(BigDecimal passRate) 
    {
        this.passRate = passRate;
    }

    public BigDecimal getPassRate() 
    {
        return passRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("performanceId", getPerformanceId())
            .append("taskId", getTaskId())
            .append("completedQuantity", getCompletedQuantity())
            .append("passRate", getPassRate())
            .toString();
    }
}
